let addr = ['长沙', '株洲', '湘潭', '岳阳', '常德', '衡阳', '郴州', '永州'];

// for循环
for (let i = 0; i < addr.length; i++) {
  console.log(addr[i]);
}

// for in循环
for (let index in addr) {
  console.log(addr[index]);
}

// for of循环
for (let item of addr) {
  console.log(item);
}